﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _13SomeNullValues
{
    class Program
    {
        static void Main(string[] args)
        {
            int? myInt = null;
            double? myDouble = null;
            Console.WriteLine("This is the output when an int and a double are given null values:\n{0}\n{1}", myInt, myDouble);
            int? nullInt = myInt + null;
            Console.WriteLine("And this is waht happens when we try to add two null variables of type int:\n{0}", nullInt);
            double? nullDouble = myDouble + null;
            Console.WriteLine("And this is waht happens when we try to add two null variables of type double:\n{0}", nullDouble);
            double? addNumberToNull = myDouble + 25;
            Console.WriteLine("And this is waht happens when we try to add a number to a null variable:\n{0}", addNumberToNull);

        }
    }
}
